package com.ruoyi.jjm.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商订单对象 t_supplier_order
 * 
 * @author tsr
 * @date 2020-07-15
 */
public class SupplierOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long supplierId;
    /** 村ID */
    @Excel(name = "村ID")
    private Long villageId;

    /** 购煤数量 */
    @Excel(name = "购煤数量")
    private BigDecimal amount;

    /** 购煤金额 */
    @Excel(name = "购煤金额")
    private BigDecimal money;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 订单状态，0：未付款，1：已付款，2：已发货，3：已收货 */
    @Excel(name = "订单状态，0：未付款，1：已付款，2：已发货，3：已收货")
    private Integer status;

    /** 付款时间 */
    @Excel(name = "付款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 发货时间 */
    @Excel(name = "发货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliverTime;

    /** 收货时间 */
    @Excel(name = "收货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date confirmTime;

    private Supplier supplier;

    private String statusValue;

    private Integer statusGt;

    private Date startTime;

    private Date endTime;

    private String keyword;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public Long getVillageId() {
        return villageId;
    }

    public void setVillageId(Long villageId) {
        this.villageId = villageId;
    }

    public BigDecimal getAmount()
    {
        return amount;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }
    public void setDeliverTime(Date deliverTime) 
    {
        this.deliverTime = deliverTime;
    }

    public Date getDeliverTime() 
    {
        return deliverTime;
    }
    public void setConfirmTime(Date confirmTime) 
    {
        this.confirmTime = confirmTime;
    }

    public Date getConfirmTime() 
    {
        return confirmTime;
    }

    public Supplier getSupplier() {
        return supplier;
    }

    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }

    public String getStatusValue() {
        return statusValue;
    }

    public void setStatusValue(String statusValue) {
        this.statusValue = statusValue;
    }

    public Integer getStatusGt() {
        return statusGt;
    }

    public void setStatusGt(Integer statusGt) {
        this.statusGt = statusGt;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierId", getSupplierId())
            .append("amount", getAmount())
            .append("money", getMoney())
            .append("address", getAddress())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("payTime", getPayTime())
            .append("deliverTime", getDeliverTime())
            .append("confirmTime", getConfirmTime())
            .toString();
    }
}
